<html><title>Perumahan</title>
<h1>Horee, kk udh masuk</h1>
<?php
$id_group = $this->session->userdata('tipe_user');//ambil id usergroup
?>
<?php if($id_group == 1){
	echo 'Halo admin';
}else if($id_group == 2){
	echo 'Halo user';
} ?><br>
<?php echo anchor('cprofil','Lihat Profil Pemandu'); ?><br>
<?php echo anchor('ckegiatan','Kegiatan'); ?><br>
<?php echo anchor('clogin/process_logout','Log Out', array('onclick' => "return confirm('Apa Anda yakin ingin keluar?')")); ?>
</html>